package com.qingsong.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author qingsong
 */
@Schema(description = "员工上传头像DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmpUploadDTO implements Serializable {
    @NotNull
    @Schema(description = "员工主键")
    private Long id;

    @Schema(description = "员工头像")
    private MultipartFile avatarFile;

}

